package cn.sumpu.app.coolsk.biz;


import java.util.List;
import java.util.Map;

import cn.sumpu.app.coolsk.domain.Scenic;
import cn.sumpu.app.coolsk.domain.Ticket;
import cn.sumpu.app.coolsk.exception.AppBusinessException;
import cn.sumpu.toolkit.common.page.PageModel;

public interface ScenicBiz {
	public Scenic saveScenic(Scenic scenic)throws AppBusinessException;
	
	public Scenic getScenicById(String id)throws AppBusinessException;
	
	public Scenic delScenicById(String id)throws AppBusinessException;
	
	public PageModel getScenic(Integer page,Integer pagesize,String name)throws AppBusinessException;
	
	public List<Ticket> getScenicTicket(String scId) throws AppBusinessException;
	
	public PageModel getScenic(Integer page,Integer pagesize,String name,String city)throws AppBusinessException;
	
	public PageModel searchScenic(Integer page,String name,String city)throws AppBusinessException;
	
	public double getScenicPriceMin(String scenicId)throws AppBusinessException;
	
	public List<Scenic> getScenic(Map<String,Object> map)throws AppBusinessException;
	
}
